package org.jeecg.modules.product.oa.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.product.oa.entity.TbPlan;
import org.jeecg.modules.product.oa.mapper.TbPlanMapper;
import org.jeecg.modules.product.oa.service.ITbPlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.Date;
import java.util.List;

/**
 * @Description: 日程、计划
 * @Author: jeecg-boot
 * @Date:   2024-11-14
 * @Version: V1.0
 */
@Service
public class TbPlanServiceImpl extends ServiceImpl<TbPlanMapper, TbPlan> implements ITbPlanService {

    @Autowired
    private TbPlanMapper tbPlanMapper;

    @Override
    public List<TbPlan> getPlanList(String planType, String type, String activeKey, Date endTime, Date startTime) {
        return tbPlanMapper.getPlanList(planType, type, activeKey, endTime, startTime);
    }
}
